package com.sun.rabbit.util;



/**
 * @Author 喻湘东
 * @Create 2019-10-09 17:51:24
 */
public class SleepUtil {

    public static void sleepMilliseconds(int source){
        try {
            Thread.sleep(source*1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
    public static void sleepSeconds(int source){
        try {
            Thread.sleep(source*10000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
